import { translate } from "@/utils/helper.js";
const $lang = translate();

//$lang['inbox']
export const mailTypeMap = {
  all: $lang.inbox,
  follows: $lang.followedMails,
  draft: $lang.drafts,
  sent: $lang.sent,
  deleted: $lang.deleted,
  junk: $lang.junk,
};
export const sortMenuInOrder = [
  $lang.inbox,
  $lang.drafts_another,
  $lang.sent_another,
  $lang.deleted_another,
  $lang.junk_another,
];
// export const sortMenuInOrderEnglish = [
//   "Inbox",
//   "Drafts",
//   "Sent Items",
//   "Deleted Items",
//   "Junk Email",
// ];
export const menu = [
  {
    title: $lang.inbox,
    icon: require("@/assets/oppo/home/all.svg"),
    type: "all",
  },
  {
    title: $lang.followedMails,
    icon: require("@/assets/oppo/home/follow-menu-icon.svg"),
    type: "follows",
  },
  {
    title: $lang.drafts,
    icon: require("@/assets/oppo/home/draft.svg"),
    type: "draft",
  },
  {
    title: $lang.sent,
    icon: require("@/assets/oppo/home/sent.svg"),
    type: "sent",
  },
  {
    title: $lang.deleted,
    icon: require("@/assets/oppo/home/deleted.svg"),
    type: "deleted",
  },
  {
    title: $lang.junk,
    icon: require("@/assets/oppo/home/junkBasket.svg"),
    type: "junk",
  },
];
export const folderIdMap = {
  all: "inbox",
  follows: "follow",
  draft: "drafts",
  sent: "sentitems",
  deleted: "deleteditems",
  junk: "junkemail",
};
